public enum Rank {
    r2(2), r3(3), r4(4), r5(5), r6(6), r7(7), r8(8), r9(9), r10(10),
    jack(11), queen(12), king(13), ace(14);

    private final int value;
    private Rank(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}

